package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entitys.TbBed;

import java.util.List;

public interface BedService {
    PageInfo<TbBed> getAll(int pageNum, int pageSize,String bnum, Integer hid, Integer did, Integer status);


    List<TbBed> getBedByHidAndDid(Integer hid, Integer did);

    TbBed getBedById(Integer bid);
    int getallBed();
    PageInfo<TbBed> getFreeBed(Integer hid,Integer did,Integer pageNum, Integer pageSize);


    List<TbBed> bedDetailsByDid(Integer did);

}
